﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.OMM.Configuration.Repository
{
    /// <summary>
    /// Classe que armazena as configurações de um repositório
    /// </summary>
    public class RepositoryConfiguration
    {

        private Int32? _id;
        private String _name = String.Empty;
        private String _description = String.Empty;
        private RepositoryTypes _type;
        private Dictionary<String, String> _connectionInformation = new Dictionary<String, String>();

        /// <summary>
        /// Id
        /// </summary>
        public Int32? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        /// <summary>
        /// Name
        /// </summary>
        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        /// <summary>
        /// Description
        /// </summary>
        public String Description
        {
            get { return _description; }
            set { _description = value; }
        }

        /// <summary>
        /// Type
        /// </summary>
        public RepositoryTypes Type
        {
            get { return _type; }
            set { _type = value; }
        }

        /// <summary>
        /// Connection information
        /// </summary>
        public Dictionary<String, String> ConnectionInformation
        {
            get { return _connectionInformation; }
            set { _connectionInformation = value; }
        }

    }
}
